<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Estoque - Cadastro de Produtos</title>
</head>

<body topmargin="0" leftmargin="0" marginheight="0" marginwidth="0">

<fieldset>
<legend>
<font color="#000000" size="2" face="Arial, Helvetica, sans-serif">
<b>Cadastro de Produtos</b>
</font>
</legend>

<form action="#" method="post" name="form">
<table cellpadding="0" cellspacing="0" width="100%">
    <tr>
    <td valign="middle" height="30" colspan="4">
    </td>
    </tr>

    <tr>
    <td width="16%" align="left">
    <font color="#000000" size="2" face="Arial, Helvetica, sans-serif">
    <strong>&nbsp;&nbsp;Mostra no site:</strong> 
    </font>
    &nbsp;
    </td>
    <td width="24%" align="left" colspan="3">
 
    <input type="radio" name="mostra" id="m1" value="1" {ck_mostra}/>
	&nbsp;
    <font color="#000000" size="2" face="Arial, Helvetica, sans-serif">
    <strong>Sim</strong> 
    </font>
	&nbsp;
    <input type="radio" name="mostra" id="m2" value="0" {ck_mostra2} />
	&nbsp;
    <font color="#000000" size="2" face="Arial, Helvetica, sans-serif">
    <strong>N&atilde;o</strong> 
    </font>

    </td>

    </tr>

    <tr>
    <td valign="middle" height="8" colspan="4">
    </td>
    </tr>

    <tr>
    <td width="16%" align="left">
    <font color="#000000" size="2" face="Arial, Helvetica, sans-serif">
    <strong>&nbsp;&nbsp;Regra de venda:</strong> 
    </font>
    &nbsp;
    </td>
    <td width="24%" align="left" colspan="3">
 
    <input type="radio" name="regra" id="r1" value="1" {ck_regra1}/>
	&nbsp;
    <font color="#000000" size="2" face="Arial, Helvetica, sans-serif">
    <strong>OC</strong> 
    </font>
	&nbsp;&nbsp;
    <input type="radio" name="regra" id="r2" value="2" {ck_regra2} />
	&nbsp;
    <font color="#000000" size="2" face="Arial, Helvetica, sans-serif">
    <strong>Somente com estoque</strong> 
    </font>

    </td>

    </tr>

    <tr>
    <td valign="middle" height="8" colspan="4">
    </td>
    </tr>

    <tr>
    <td width="16%" align="left">
    <font color="#000000" size="2" face="Arial, Helvetica, sans-serif">
    <strong>&nbsp;&nbsp;C&oacute;digo:</strong> 
    </font>
    &nbsp;
    </td>
    <td width="24%" align="left">
    <input type="text" name="idi"  size="30" title="Codigo interno" value="{id}" readonly="readonly" />
    </td>

    <td width="16%" align="left">
    <font color="#000000" size="2" face="Arial, Helvetica, sans-serif">
    <strong>&nbsp;&nbsp;&nbsp;&nbsp;Oferta:</strong> 
    </font>
    &nbsp;
    </td>
    <td width="44%" align="left">
    <input type="text" name="oferta"  size="20" maxlength="20" title="Pre&ccedil;o de Oferta" value="{oferta}" onKeyPress="return(MascaraMoeda(this,'.',',',event))"/>
    </td>

    </tr>

    <tr>
    <td valign="middle" height="8" colspan="4">
    </td>
    </tr>

    <tr>
    <td width="16%" align="left">
    <font color="#000000" size="2" face="Arial, Helvetica, sans-serif">
    <strong>&nbsp;&nbsp;Referencia:</strong> 
    </font>
    &nbsp;
    </td>
    <td width="24%" align="left">
    <input type="text" name="codigo"  size="30" title="Codigo de refer&ecirc;ncia da loja" value="{codigo}" />
    </td>

    <td width="16%" align="left">
    <font color="#000000" size="2" face="Arial, Helvetica, sans-serif">
    <strong>&nbsp;&nbsp;&nbsp;&nbsp;Pre&ccedil;o de Venda R$:</strong> 
    </font>
    &nbsp;
    </td>
    <td width="44%" align="left">
    <input type="text" name="pr_venda"  size="20" maxlength="20" title="Pre&ccedil;o de Venda" value="{pr_venda}" readonly="readonly"/>
    </td>

    </tr>

    <tr>
    <td valign="middle" height="8" colspan="4">
    </td>
    </tr>


    <tr>
    <td width="16%" align="left">
    <font color="#000000" size="2" face="Arial, Helvetica, sans-serif">
    <strong>&nbsp;&nbsp;Descri&ccedil;&atilde;o:</strong> 
    </font>
    &nbsp;
    </td>
    <td width="24%" colspan="4" align="left">
    <textarea name="descricao" cols="63" rows="5" title="Descri&ccedil;&atilde;o do produto">{descricao}</textarea>
    </td>


    </tr>


    <tr>
    <td valign="middle" height="8" colspan="4">
    </td>
    </tr>

    <tr>
    <td width="16%" align="left">
    <font color="#000000" size="2" face="Arial, Helvetica, sans-serif">
    <strong>&nbsp;&nbsp;Fornecedor:</strong> 
    </font>
    &nbsp;
    </td>
    <td width="24%" colspan="4" align="left">
    <input type="text" name="fornecedor"  size="50" title="F&aacute;brica ou representante" value="{fornecedor}" onclick="abre_fornecedores();" readonly="readonly" />
    <input type="hidden" name="id_fornecedor" id="id_fornecedor" value="{id_fornecedor}" />
    {botao5}
    </td>


    </tr>

    <tr>
    <td valign="middle" height="8" colspan="4">
    </td>
    </tr>

    <tr>
    <td width="16%" align="left">
    <font color="#000000" size="2" face="Arial, Helvetica, sans-serif">
    <strong>&nbsp;&nbsp;Fabricante/Marca:</strong> 
    </font>
    &nbsp;
    </td>
    <td width="24%" colspan="4" align="left">
    <input type="text" name="fabricante"  size="50" title="F&aacute;bricante do produto" value="{fabricante}"   onclick="abre_fabricantes();" readonly="readonly"/>
    <input type="hidden" name="id_fabricante" id="id_fabricante" value="{id_fabricante}" />
    {botao6}
    </td>


    </tr>

    <tr>
    <td valign="middle" height="8" colspan="4">
    </td>
    </tr>

    <tr>
    <td width="16%" align="left">
    <font color="#000000" size="2" face="Arial, Helvetica, sans-serif">
    <strong>&nbsp;&nbsp;Grupo:</strong> 
    </font>
    &nbsp;
    </td>
    <td width="24%" colspan="4" align="left">
    <input type="text" name="grupo"  size="50" title="Grupo do produto" value="{grupo}" onclick="abre_grupos();" readonly="readonly" />
    <input type="hidden" name="id_grupo" id="id_grupo" value="{id_grupo}" />
    </td>


    </tr>

    <tr>
    <td valign="middle" height="8" colspan="4">
    </td>
    </tr>


    <tr>
    <td width="16%" align="left">
    <font color="#000000" size="2" face="Arial, Helvetica, sans-serif">
    <strong>&nbsp;&nbsp;Pre&ccedil;o de custo R$:</strong> 
    </font>
    &nbsp;
    </td>
    <td width="24%" align="left">
    <input type="text" name="pr_custo"  size="20" maxlength="20" title="Pre&ccedil;o de custo" value="{pr_custo}"  onKeyPress="return(MascaraMoeda(this,'.',',',event))" />
    </td>

    <td width="16%" align="left">
    <font color="#000000" size="2" face="Arial, Helvetica, sans-serif">
    <strong>&nbsp;&nbsp;&nbsp;&nbsp;Percentual:</strong> 
    </font>
    &nbsp;
    </td>
    <td width="44%" align="left">
    <input type="text" name="percentual"  size="20" title="Percentual de lucro" value="{percentual}" onKeyPress="return(MascaraMoeda(this,'.',',',event))"  />
    <font color="#000000" size="3" face="Arial, Helvetica, sans-serif">
    <strong>&nbsp;%</strong> 
    </font>
    </td>

    </tr>

    <tr>
    <td valign="middle" height="8" colspan="4">
    </td>
    </tr>

    <tr>
    <td width="16%" align="left">
    <font color="#000000" size="2" face="Arial, Helvetica, sans-serif">
    <strong>&nbsp;&nbsp;Estoque m&aacute;ximo:</strong> 
    </font>
    &nbsp;
    </td>
    <td width="24%" align="left">
    <input type="text" name="est_max"  size="20" title="Estoque m&aacute;ximo" value="{est_max}" />
    </td>

    <td width="16%" align="left">
    <font color="#000000" size="2" face="Arial, Helvetica, sans-serif">
    <strong>&nbsp;&nbsp;&nbsp;&nbsp;Estoque m&iacute;nimo:</strong> 
    </font>
    &nbsp;
    </td>
    <td width="44%" align="left">
    <input type="text" name="est_min"  size="20" title="Estoque m&iacute;nimo" value="{est_min}"/>
    </td>

    </tr>

    <tr>
    <td valign="middle" height="8" colspan="4">
    </td>
    </tr>

    <tr>
    <td width="16%" align="left">
    <font color="#000000" size="2" face="Arial, Helvetica, sans-serif">
    <strong>&nbsp;&nbsp;Cor:</strong> 
    </font>
    &nbsp;
    </td>
    <td width="24%" align="left">
    <input type="text" name="scor"  size="20" title="Cor do produto" value="{scor}" onclick="abre_cores();" readonly="readonly" />
    <input type="hidden" name="id_cor"  size="5" value="{id_cor}" title="C&oacute;digo da cor" readonly="readonly" />
    </td>

    <td width="16%" align="left">
    <font color="#000000" size="2" face="Arial, Helvetica, sans-serif">
    <strong>&nbsp;&nbsp;&nbsp;&nbsp;Tamanho:</strong> 
    </font>
    &nbsp;
    </td>
    <td width="44%" align="left">
    <input type="text" name="tamanho"  size="20" title="Tamanho" value="{tamanho}" onclick="abre_tamanhos();" readonly="readonly"/>
    <input type="hidden" name="id_tamanho"  size="20"  value="{id_tamanho}" />
    </td>

    </tr>

    <tr>
    <td valign="middle" height="8" colspan="4">
    </td>
    </tr>

    <tr>
    <td width="16%" align="left">
    <font color="#000000" size="2" face="Arial, Helvetica, sans-serif">
    <strong>&nbsp;&nbsp;Peso SEDEX:</strong> 
    </font>
    &nbsp;
    </td>
    <td colspan="3" align="left">
    <input type="text" name="peso"  size="20" title="Peso para calculo SEDEX" value="{peso}" />
	&nbsp;
    <font color="#000000" size="2" face="Arial, Helvetica, sans-serif">
    <strong>Kg</strong> 
    </font>
    </td>


    </tr>

    <tr>
    <td valign="middle" height="8" colspan="4">
    </td>
    </tr>

</table>    


<table cellpadding="0" cellspacing="0" width="100%">
    <tr>
    <td valign="middle" height="38" colspan="2">
    </td>
    </tr>

    <tr>
    <td align="left" valign="middle" colspan="2">
	&nbsp;&nbsp;{botao}&nbsp;{botao2}&nbsp;{botao4}&nbsp;{botao3}
    </td>
    </tr>

    <tr>
    <td valign="middle" height="8" colspan="2">
    </td>
    </tr>

</table>
<input type="hidden" value="{id}" name="id" />
<input type="hidden" value="{ref}" name="ref" />
</form>


</div>
</fieldset>

</body>
</html>
